home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / zsource.z / zsource
Encoding:
Text File  |  1998-10-20  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. zzzzssssoooouuuurrrrcccceeee((((3333GGGG))))                                                        zzzzssssoooouuuurrrrcccceeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      zzzzssssoooouuuurrrrcccceeee - selects the source for z-buffering comparisons
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd zzzzssssoooouuuurrrrcccceeee((((ssssrrrrcccc))))
  13.      lllloooonnnngggg ssssrrrrcccc;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _s_r_c   expects one of two possible values:
  17.  
  18.            ZZZZSSSSRRRRCCCC____DDDDEEEEPPPPTTTTHHHH, z-buffering is done by depth comparison (default).
  19.  
  20.            ZZZZSSSSRRRRCCCC____CCCCOOOOLLLLOOOORRRR, z-buffering is done by color comparison.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      By default z-buffer comparisons are done on depth data.  However, in
  24.      certain cases, it can be useful to z-buffer by comparing color values,
  25.      especially the color index values generated by the linesmooth and
  26.      pntsmooth hardware.  When the ssssrrrrcccc parameter is ZSRC_DEPTH, the z-buffer
  27.      operation is normal.  When  the ssssrrrrcccc parameter is ZSRC_COLOR, however,
  28.      source and destination color values are compared to determine which
  29.      pixels the system draws.  In this mode, the zbuffer is not updated when a
  30.      pixel is written.
  31.  
  32.      A separate zzzzssssoooouuuurrrrcccceeee mode is retained by each of the framebuffers:  normal,
  33.      popup, overlay, and underlay.  The current draw mode determines which z
  34.      source mode is used, and which is modified by zzzzssssoooouuuurrrrcccceeee.
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      drawmode, gversion, linesmooth, pntsmooth, zbuffer, zfunction
  38.  
  39. NNNNOOOOTTTTEEEESSSS
  40.      This subroutine does not function on IRIS-4D B or G models.
  41.  
  42.      Currently z-buffer operation is supported only in the normal framebuffer.
  43.      To insure compatibility with future releases of the GL, make calls to
  44.      zzzzssssoooouuuurrrrcccceeee only while draw mode is NNNNOOOORRRRMMMMAAAALLLLDDDDRRRRAAAAWWWW.
  45.  
  46.      Use zzzzssssoooouuuurrrrcccceeee((((ZZZZSSSSRRRRCCCC____CCCCOOOOLLLLOOOORRRR)))) for correct anti-aliasing support in color index
  47.      mode on Iris Indy and Iris Indigo.
  48.  
  49. BBBBUUUUGGGGSSSS
  50.      IRIS-4D GT and GTX models support zzzzssssoooouuuurrrrcccceeee((((ZZZZSSSSRRRRCCCC____CCCCOOOOLLLLOOOORRRR)))) only for non-
  51.      subpixel positioned lines drawn after a lllliiiinnnneeeessssmmmmooooooootttthhhh((((SSSSMMMMLLLL____OOOONNNN)))) call.
  52.  
  53.      On early serial numbers of the Personal Iris, ZSRC_DEPTH is the only
  54.      supported setting for this routine. For compatibility, they accept the
  55.      call zzzzssssoooouuuurrrrcccceeee((((ZZZZSSSSRRRRCCCC____CCCCOOOOLLLLOOOORRRR)))), but it has the same effect as calling
  56.      zzzzffffuuuunnnnccccttttiiiioooonnnn((((ZZZZFFFF____AAAALLLLWWWWAAAAYYYYSSSS)))), which turns off z value comparison. This allows the
  57.      unrestricted drawing of color values into the front and back buffers and
  58.      depth values into the z-buffer.  Use ggggvvvveeeerrrrssssiiiioooonnnn to determine which type of
  59.      Personal Iris you have.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. zzzzssssoooouuuurrrrcccceeee((((3333GGGG))))                                                        zzzzssssoooouuuurrrrcccceeee((((3333GGGG))))
  71.  
  72.  
  73.  
  74.      IRIS-4D VGX models support zzzzssssoooouuuurrrrcccceeee((((ZZZZSSSSRRRRCCCC____CCCCOOOOLLLLOOOORRRR)))) only in color map mode.
  75.      Stencil operation is undefined in this case.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.